package com.mrzhang.glpt.oauth;

import com.mrzhang.common.annotation.EnableGLlptettuceRedis;
import com.mrzhang.common.annotation.EnableGlptAuthExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@EnableGlptAuthExceptionHandler//构造自定义异常处理 自动注入Bean
@MapperScan("com.mrzhang.glpt.oauth.mapper")
@EnableGLlptettuceRedis
public class GlptOauthApplication {

    public static void main(String[] args) {
        SpringApplication.run(GlptOauthApplication.class, args);
    }

}
